package com.eastfair.builder.dao;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.toolkit.Constants;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.eastfair.boot.mapper.SuperMapper;
import com.eastfair.builder.entity.Exhibitor;
import com.eastfair.builder.vo.ExhibitorVO;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

/**
 * <p>
 * Mapper 接口
 * 展商
 * </p>
 *
 * @author dq
 * @date 2022-08-06
 */
@Repository
public interface ExhibitorMapper extends SuperMapper<Exhibitor> {

    /**
     * 查询搭建商的展位列表.
     *
     * @param pageParam    the page param
     * @param queryWrapper the query wrapper
     * @return the page
     */
    Page<ExhibitorVO> listServiceProviderSite(Page<Exhibitor> pageParam, @Param(Constants.WRAPPER) QueryWrapper<Exhibitor> queryWrapper);

    /**
     * 分页查询未报馆的展位列表.
     *
     * @param pageParam    the page param
     * @param queryWrapper the query wrapper
     * @return the page
     */
    Page<ExhibitorVO> listNotReportSpaceExhibitorVOs(Page<Exhibitor> pageParam, @Param(Constants.WRAPPER) QueryWrapper<Exhibitor> queryWrapper);
}
